import { MenuFoldOutlined, MenuUnfoldOutlined } from '@ant-design/icons';
import './MemuDrawerButton.css'

export const MemuDrawerButton = (props: any) => {
    const {collapsed, onClick} = props
    return (
        <>{collapsed ? <MenuUnfoldOutlined className='trigger' onClick={onClick}/> : <MenuFoldOutlined className='trigger' onClick={onClick}/>}</>
    )
}